package com.abkj.platform.tail.socket;

import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.util.List;
import org.apache.catalina.websocket.MessageInbound;
import org.apache.catalina.websocket.WsOutbound;

public class TMessageInbound extends MessageInbound {
	protected void onTextMessage(CharBuffer arg0) throws IOException {
	}

	protected void onClose(int status) {
		SocketServlet.getSocketList().remove(this);
		super.onClose(status);
	}

	protected void onOpen(WsOutbound outbound) {
		super.onOpen(outbound);
		SocketServlet.getSocketList().add(this);
	}

	protected void onBinaryMessage(ByteBuffer arg0) throws IOException {
	}
}